#!/usr/bin/python 
# -*- coding:utf8 -*- 
import web,os
urls = ('/','index')
render = web.template.render('templates/')

class index:
    def GET(self):   
        name = '千年码农' 
        return render.index(name)

if __name__ == "__main__":
    app = web.application(urls,globals())    
    app.run() 